package com.person.nacos.fallbackhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.person.common.CommonResult;

/**
 * @author zhangfc
 * @date 2021/7/26 13:26
 */
public class GlobalFallbackHandler {
   public static CommonResult fallbackHandler1(BlockException exection){
       return CommonResult.error("failure","自定义fallback1");
   }
}
